package cn.kpi.service.usualassessment;

import java.util.List;
import java.util.Map;

import cn.kpi.entity.usualassseason.MzpdPassNoEntity;
import org.apache.ibatis.annotations.Param;

import cn.kpi.entity.usualassessment.UserUATBmTjEntity;
import cn.kpi.entity.usualassessment.UserUATMzpdEntity;
import cn.kpi.entity.usualassessment.UserUATMzpdSummaryEntity;
import cn.kpi.entity.usualassessment.UserUATQzEntity;

public interface IUserUATMzpdService {
    public int InsertQz(UserUATQzEntity entity) throws Exception;

    public UserUATQzEntity GetQzByStatus() throws Exception;

    public int InsertMzpdEntity(UserUATMzpdEntity entity) throws Exception;

    public List<UserUATMzpdEntity> GetMzpdListByWhere(String where) throws Exception;

    public int GetMzpdListCountByWhere(String where) throws Exception;

    public UserUATMzpdEntity GetMzpdListById(Long mzpdid) throws Exception;

    public int DeleteMzpdEntity(Long mzpdid) throws Exception;

    public List<UserUATMzpdSummaryEntity> GetMzpdSummaryListByWhere(String where, int year) throws Exception;

    public int GetMzpdSummaryListCountByWhere(String where, int year) throws Exception;

    public List<Map> GetPjOrgSumList(String where, int year, int quarter) throws Exception;

    public List<UserUATMzpdEntity> GetUserMzpdListProcess(String where, int year, int quarter, int beginrow, int endrow) throws Exception;

    public List<UserUATMzpdEntity> GetOldUserMzpdListProcess(String where, int year, int quarter, int beginrow, int endrow) throws Exception;

    public int GetUserMzpdListProcessCount(String where) throws Exception;

    public int GetOldUserMzpdListProcessCount(String where) throws Exception;

    public int UpdateMzpdEntity(UserUATMzpdEntity entity) throws Exception;

    public int UpdateUATMzpdStatus(Long mzpdid, Long userid, int status, int year, int quarter) throws Exception;

    public UserUATBmTjEntity GetBmTj(int year, Long orgid) throws Exception;

    public UserUATMzpdEntity GetMzpdEntityByYQU(Long userid, int year, int quarter) throws Exception;

    public int UpdateUATMzpdStatusBm(Long orgid, int status, int year, int quarter) throws Exception;

    public int UpdateUATMzpdStatusBmNew(Long orgid, int status, int year, int quarter, Long orgstatustjid) throws Exception;

    public int GetOrgStatusCount(Long orgid, int year, int quarter) throws Exception;

    public List<UserUATMzpdEntity> GetAllUserMzpdListProcess(String where,String where3, int year, int quarter) throws Exception;//todo:ly补充

    public List<UserUATMzpdEntity> GetOldAllUserMzpdListProcess(String where,String where3, int year, int quarter) throws Exception;//todo:ly补充

    public List<UserUATMzpdEntity> GetMzpdPassNoEntity(String where, int year, int quarter) throws Exception;//todo:ly补充

    public List<UserUATMzpdEntity> GetMzpdPassNoEntity1(String where, int year) throws Exception;//todo:ly补充


    public int UpdateMzpdpassEntity(List<MzpdPassNoEntity> entity, String where) throws Exception;//todo:ly补充

    public List<UserUATMzpdEntity> getMzpdById(@Param("mzpdpassnoid") int mzpdpassnoid);

    public int updateMzpd(String reason, String howtodo, String remark, int mzpdpassnoid);


    public int updateMzpdStatus(int status, Long orgid, int year, int quarter);

}
